/**
 * OperatePostOperatePost.java
 * 
 * Created Date: 2014年11月24日
 *
 * Copyright (c) Centling Technologies Co., Ltd.
 *
 * This software is the confidential and proprietary information of
 * Centling Technologies Co., Ltd. ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the license agreement you entered into with
 * Centling Technologies Co., Ltd.
 */
package com.centling.bluecollar.customer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author hellsing
 *
 */
@Entity
@Table(name = "t_operatepost")
// 操作岗位
public class OperatePost {
	
	private String id;
	private String name;
	private String remark;
	private String status;
	
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
	
		return id;
	}
	
	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
	
		this.id = id;
	}
	
	/**
	 * @return the name
	 */
	@Column(length = 40)
	public String getName() {
	
		return name;
	}
	
	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
	
		this.name = name;
	}

	/**
	 * @return the remark
	 */
	@Column(length=400)
	public String getRemark() {
	
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
	
		this.remark = remark;
	}

	/**
	 * @return the status
	 */
	@Column(length=50)
	public String getStatus() {
	
		return status;
	}
	

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
	
		this.status = status;
	}
	
}
